package ooday01;

public class Car {
    String brand;
    double prices;
    String color;
    Car(){}
    Car(String brand,double prices,String color){
        this.brand=brand;
        this.prices=prices;
        this.color=color;
    }
    void start(){
        System.out.println(brand+"牌子的"+color+"颜色的"+prices+"块钱的车启动了");
    }
    void run(){
        System.out.println(brand+"牌子的"+color+"颜色的"+prices+"块钱的车开始跑了");
    }
    void stop(){
        System.out.println(brand+"牌子的"+color+"颜色的"+prices+"块钱的车停止了");
    }
}
